package cn.shujuhai.common.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @TableName role_department
 */
@EqualsAndHashCode(callSuper = true)
@TableName(value = "role_department")
@Data
public class RoleDepartment extends BaseDomain {
    /**
     *
     */
    @TableId(value = "role_department_id", type = IdType.AUTO)
    private Long roleDepartmentId;

    /**
     *
     */
    @TableField(value = "role_id")
    private Long roleId;
    /**
     *
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     *
     */
    @TableField(value = "department_id")
    private Long departmentId;

}